package com.bub.pay.core.entity.dto.merchant;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class NewBuiltMerchantEmployeeDTO {

    @NotBlank(message = "账户名不能为空")
    private String username;
    @NotBlank(message = "员工姓名(昵称)不能为空")
    private String nickname;
    @NotBlank(message = "邮箱不能为空")
    private String email;
    @NotNull(message = "角色id不能为空")
    private Long roleId;
    @NotNull(message = "用户状态不能为空")
    private Integer status;

    private Long userId;

}
